package com.xiaxiang.xiawan.video;

import android.app.Activity;

/**
 * Created by Administrator on 2017-10-25.
 */

public abstract class XXVideoBase {
    protected Activity mAct;
    protected String mVideoPath = null;
    protected VideoInfoListener mVideoInfoListener;
    public XXVideoBase(Activity act){
        mAct = act;
    }
    public abstract void pause();
    public abstract  int getDisplayAspectRatio();
    public abstract void stopPlayback();
    public abstract  void setDisplayOrientation(int rotation);
    public abstract void start();
    public abstract void setDisplayAspectRatio(int displayAspectRatio);
    public void setOnInfoListener(VideoInfoListener onInfoListener){
       // mVideoView.setOnInfoListener(onInfoListener);
        mVideoInfoListener = onInfoListener;
    }
    public void setVideoPath(String path){
        mVideoPath = path;
    }
    public void setVideoView(Object videoView){

    }

}
